<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="stripes"
           uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="s" uri="http://www.springframework.org/tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>
	<link rel="StyleSheet" href="../css/jpetstore.css" type="text/css"
	      media="screen"/>

	<meta name="generator"
	      content="HTML Tidy for Linux/x86 (vers 1st November 2002), see www.w3.org"/>
	<title>JPetStore Demo</title>
	<meta content="text/html; charset=windows-1252"
	      http-equiv="Content-Type"/>
	<meta http-equiv="Cache-Control" content="max-age=0"/>
	<meta http-equiv="Cache-Control" content="no-cache"/>
	<meta http-equiv="expires" content="0"/>
	<meta http-equiv="Expires" content="Tue, 01 Jan 1980 1:00:00 GMT"/>
	<meta http-equiv="Pragma" content="no-cache"/>
</head>
<body>
<c:set var="basepath" value="${pageContext.request.contextPath}"/>
<div id="Header">
	<div id="Logo">
		<div id="LogoContent">
			<a href="${basepath}/catalog/list">
				<img src="../images/logo-topbar.gif"/>
			</a></div>
	</div>

	<div id="Menu">
		<div id="MenuContent"><a href="${basepath}/cart/viewCart">
			<img align="middle" name="img_cart" src="../images/cart.gif"/>
		</a> <img align="middle" src="../images/separator.gif"/>
			<c:if test="${sessionScope.accountBean == null}">
				<a href="${basepath}/account/signonForm">
					Sign In
				</a>
			</c:if>
			<c:if test="${sessionScope.accountBean != null}">
				<c:if test="${!sessionScope.accountBean.authenticated}">
					<a href="${basepath}/account/signonForm">
						Sign In
					</a>
				</c:if>
				<c:if test="${sessionScope.accountBean.authenticated}">
					<a href="${basepath}/account/signoff">
						Sign Out
					</a>
					<img align="middle" src="../images/separator.gif"/>
					<a href="${basepath}/account/editAccountForm">
						My Account
					</a>
				</c:if>
			</c:if>
			<img align="middle" src="../images/separator.gif"/> <a
					href="../help.html">?</a></div>
	</div>

	<div id="Search">
		<div id="SearchContent">
			<form action="${basepath}/catalog/searchProducts" method="post">
				<input name="keyword" size="14"/>
				<input type="submit" name="searchProducts" value="Search"/>
			</form>
		</div>
	</div>

	<div id="QuickLinks"><a href="${basepath}/catalog/viewCategory?categoryId=FISH">
		<img src="../images/sm_fish.gif"/>
	</a> <img src="../images/separator.gif"/> <a href="${basepath}/catalog/viewCategory?categoryId=DOGS">
		<img src="../images/sm_dogs.gif"/>
	</a> <img src="../images/separator.gif"/> <a href="${basepath}/catalog/viewCategory?categoryId=REPTILES">
		<img src="../images/sm_reptiles.gif"/>
	</a> <img src="../images/separator.gif"/> <a href="${basepath}/catalog/viewCategory?categoryId=CATS">
		<img src="../images/sm_cats.gif"/>
		</a> <img src="../images/separator.gif"/> <a href="${basepath}/catalog/viewCategory?categoryId=BIRDS">
		<img src="../images/sm_birds.gif"/>
		</a></div>

</div>

<div id="Content">